/*
 * @Author: AskMeWhy
 * @Date: 2020-06-16 23:41:05
 * @Last Modified by: AskMeWhy
 * @Last Modified time: 2021-01-19 16:51:15
 */

$header-base-bg: #23262E;
$header-base-tag-bg: rgb(253, 199, 58);
$header-base-color: #F5F5F5;
$header-base-color-2: #F5F5F5;
$header-base-color-2-hover: #607D8B;

.base-layout-header-box {
    width: 100%;
    position: relative;
    // box-shadow: 0 2px 4px 1px rgba(40, 120, 255, 0.08), 0 0 6px 1px rgba(0, 0, 0, 0.08);;
    .blh__bar{
        width: 100%;
        height: .65rem;
        background: $header-base-bg;
        padding: 0 .1rem;
        @include flexLayout(flex,justify,center);
    }
    .blh__bar-left{
        display: inline-block;
        margin: 0;
        .blh__bar-title{
            display: inline-block;
            font-size: .2rem;
            font-weight: bold;
            line-height: 28px;
            color: $header-base-color;
        }
    }
    .el-dropdown .blh__bar-user-info{
        padding: 0 .1rem;
    }
    .blh__bar-user-info{
        cursor: pointer;
        @include flexLayout(inline-flex, normal, center);
        padding: 0;
        color:  $header-base-color-2;
        // &:hover{
        //     color: $header-base-color-2-hover;
        // }
        .blh__bar-user-logo{
            width: .5rem;
            height: .5rem;
            flex: 0 0 .5rem;
            border-radius: 100%;
            overflow: hidden;
            img{
                width: 100%;
                height: 100%;
                border-radius: 100%;
                overflow: hidden;
            }
        }
        .blh__bar-user-detail{
            padding: 0 .1rem;
        }
        .blh__bar-user-detail-text{
            min-width: .7rem;
            color: $header-base-color;
            font-size: .18rem;
            font-weight: 700;
            white-space: nowrap;
            padding: .02rem 0;
        }
        .blh__bar-user-detail-tag{
            min-width: .5rem;
            display: inline-block;
            background-color: $header-base-tag-bg;
            color: $header-base-color;
            text-align: center;
            border-radius: .05rem;
            font-size: .12rem;
            white-space: nowrap;
            padding: .02rem 0;
        }
        .blh__bar-user-text{
            font-size: .14rem;
            line-height: 1.4;
            ::v-deep {
                .el-link--inner {
                    font-size: .16rem;
                    line-height: 28px;
                    color: #F5F5F5;
                }
            }
        }
    }
    .blh__bar-btn{
        .blh__bar-btn-box {
            @include flexLayout(flex,normal,center);
        }
        .contact {
            @include flexLayout(flex,normal,center);
            cursor: pointer;
            .contact-word {
                color: #F9F9FB;
                margin-left: 4px;
                font-size: 0.16rem;
                line-height: 22px;
                font-family: "PingFang SC Light";
                margin-right: 24px;
            }
            img {
                display: block;
                width: 22px;
                height: 20px;
            }
        }
        .message {
            margin-right: .2rem;
            .message-item {
                i {
                    color: #c4c4c4;
                    font-size: 24px;
                }
                img {
                    display: inline-block;
                    width: 33.39px;
                }
                .message-bell{
                    //transform: scale(1.6);
                }
                ::v-deep {
                    .el-badge__content {
                        border: 0;
                        height: 14px;
                        line-height: 14px;
                        font-size: 12px;
                        padding: 0 4px;
                        right: 7px;
                        top: -6px;
                    }
                }
            }
            .message-word {
                color: #F9F9FB;
                font-size: 0.16rem;
                line-height: 28px;
                font-family: "PingFang SC Light";
            }
        }
        .blh__bar-btn-step{
            display: inline-block;
            width: .4rem;
            text-align: center;
            color: $header-base-color-2;
        }
        .el-link{
            color: inherit;
        }
    }
}

.header-dropdown {
    color: #F9F9FB;
    border: 0;
    margin: 0;
    padding: 0;
    background: $header-base-bg;
    transform: translate(-8px, 0);
    font-family: "PingFang SC Light";
    z-index: 9999!important;
    .el-dropdown-menu__item {
        line-height: 40px;
        padding: 0 6px;
        color: #F9F9FB;
        &:hover {
            background: #37383a;
            color: #F9F9FB;
        }
    }
    ::v-deep {
        .popper__arrow {
            display: none;
            border-color: transparent;
            &:after {
                border-color: transparent;
            }
        }
    }
}

// 客服电话显示
.contact-content {
    color: #de2728;
}
